package com.explorati.design_pattern.behavior.visitor.example;

public class TypeVisitor implements ComputerVisitor {

	@Override
	public void visitCPU(CPU cpu) {
		cpu.run();
	}

	@Override
	public void visitHarddisk(Harddisk harddisk) {
		harddisk.run();
	}

}
